package com.dongdongshop.service.impl;

import com.dongdongshop.mapper.TbUserMapper;
import com.dongdongshop.pojo.TbUser;
import com.dongdongshop.service.TbuserService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@DubboService
@Service
public class UserServiceimpl implements TbuserService {


    @Autowired
    TbUserMapper tm;

    //根据用户名查询此条数据
    @Override
    public TbUser byname(String username) {
        return tm.byname(username);
    }
}
